package com.ks.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ks.api.entity.UserBinding;
import java.util.List;
import java.util.Map;

public interface UserBindingService extends IService<UserBinding> {
    UserBinding login(String username, String password);
    Map<String, Object> addBinding(String username, String nickId);
    boolean removeBinding(String username, String nickId);
    Map<String, Object> addBinding(UserBinding user, String nickId);
    boolean removeBinding(UserBinding user, String nickId);
    List<Map<String, String>> getBindingList(UserBinding sessionUser);
    Map<String, Object> register(String username, String password);
    Map<String, Object> changePassword(String username, String oldPassword, String newPassword);
} 